package com.ruoyi.tsjData.domain.result;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 提升机-制动测试结果对象 data_tshj_zhd_result
 * 
 * @author ruoyi
 * @date 2023-11-07
 */
@Getter
@ApiModel(value = "提升机-制动测试结果对象")
public class DataTshjZhdResult extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 制动测试ID */
    private Long zhdId;

    /** 测试任务ID */
    @Excel(name = "测试任务ID")
    @ApiModelProperty(value = "测试任务ID")
    private Long dataTaskId;

    /** 测试结果ID */
    @Excel(name = "测试结果ID")
    @ApiModelProperty(value = "测试结果ID")
    private Long dataResultId;

    /** 运动方向（0下放 1上提） */
    @Excel(name = "运动方向", readConverterExp = "0=下放,1=上提")
    @ApiModelProperty(value = "运动方向（0下放 1上提）")
    private String up;

    /** 是否是提人(0提物 1提人) */
    @Excel(name = "是否是提人(0提物 1提人)")
    @ApiModelProperty(value = "是否是提人(0提物 1提人)")
    private String upRen;

    /** 制动时间 */
    @Excel(name = "制动时间")
    @ApiModelProperty(value = "制动时间")
    private String zhdTime;

    /** 制动初速度 */
    @Excel(name = "制动初速度")
    @ApiModelProperty(value = "制动初速度")
    private String zhdchsd;

    /** 制动距离 */
    @Excel(name = "制动距离")
    @ApiModelProperty(value = "制动距离")
    private String zhdjl;

    /** 制动加速度 */
    @Excel(name = "制动加速度")
    @ApiModelProperty(value = "制动加速度")
    private String accZhd;

    /** 测速方式 0：井深 1：线速度 2：测速电机 */
    @Excel(name = "测速方式 0：井深 1：线速度 2：测速电机")
    @ApiModelProperty(value = "测速方式 0：井深 1：线速度 2：测速电机")
    private String csfsh;

    /** 开始制动时间 */
    @Excel(name = "开始制动时间")
    @ApiModelProperty(value = "开始制动时间")
    private String startTime;

    /** 结束制动时间 */
    @Excel(name = "结束制动时间")
    @ApiModelProperty(value = "结束制动时间")
    private String endTime;

    /** 制动速度曲线Svg */
    @ApiModelProperty(value = "制动速度曲线Svg")
    private String zhdsdSvg;

    /** 制动速度曲线路径 */
    @Excel(name = "制动速度曲线路径")
    private String zhdsdImg;

    /** 保存时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "保存时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "保存时间")
    private Date saveTime;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setZhdId(Long zhdId)
    {
        this.zhdId = zhdId;
    }

    public void setDataTaskId(Long dataTaskId)
    {
        this.dataTaskId = dataTaskId;
    }

    public void setUp(String up)
    {
        this.up = up;
    }

    public void setUpRen(String upRen)
    {
        this.upRen = upRen;
    }

    public void setZhdTime(String zhdTime)
    {
        this.zhdTime = zhdTime;
    }

    public void setZhdchsd(String zhdchsd)
    {
        this.zhdchsd = zhdchsd;
    }

    public void setZhdjl(String zhdjl)
    {
        this.zhdjl = zhdjl;
    }

    public void setAccZhd(String accZhd)
    {
        this.accZhd = accZhd;
    }

    public void setCsfsh(String csfsh)
    {
        this.csfsh = csfsh;
    }

    public void setStartTime(String startTime)
    {
        this.startTime = startTime;
    }

    public void setEndTime(String endTime)
    {
        this.endTime = endTime;
    }

    public void setZhdsdImg(String zhdsdImg)
    {
        this.zhdsdImg = zhdsdImg;
    }

    public void setSaveTime(Date saveTime)
    {
        this.saveTime = saveTime;
    }

    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public void setZhdsdSvg(String zhdsdSvg) {
        this.zhdsdSvg = zhdsdSvg;
    }

    public void setDataResultId(Long dataResultId) {
        this.dataResultId = dataResultId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("zhdId", getZhdId())
            .append("dataTaskId", getDataTaskId())
            .append("up", getUp())
            .append("upRen", getUpRen())
            .append("zhdTime", getZhdTime())
            .append("zhdchsd", getZhdchsd())
            .append("zhdjl", getZhdjl())
            .append("accZhd", getAccZhd())
            .append("csfsh", getCsfsh())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("zhdsdImg", getZhdsdImg())
            .append("saveTime", getSaveTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
